package com.artist.service;

import com.artist.entity.TbBanner;

import java.util.List;

public interface BannerService {

    //Banner列表
    List<TbBanner> selectAll();

    //新增Banner
    void savaBanner(TbBanner tbBanner);

    //编辑Banner
    void updateBannerByPrimaryKey(TbBanner tbBanner);

    //查找Banner
    TbBanner selectBannerByPrimaryKey(Integer bId);

    //删除Banner
    void deleteBnanerByPrimaryKey(Integer bId);

}
